﻿#wrapper
{
    width: 960px;
    background-color: #fafafa;
    margin: 0 auto;
    margin-top: 50px;
    position: relative;
    font-family: 'Open Sans', sans-serif;
}

h1, h2, h3
{
    font-weight: 300;
}

#login-form-holder
{
    text-align: center;
}

input[type="text"],input[type="password"]
{
    padding: 8px 30px;
    -webkit-border-radius: 2px 2px;
    border: solid 1px #3079ed;
}

#register-form input[type="text"],input[type="password"]
{
    padding: 10px 30px;
    -webkit-border-radius: 2px 2px;
    border: solid 1px #3079ed;
}

#show-register-button, #show-login-button, #login-button, #register-button
{
    margin: 10px;
}

#logout-button
{
    margin-left: 10px;
}

a.btn-active-game
{
    color: #3079ed;;
}

#user-nickname
{
    text-align: right;
    margin: 20px;
    font-size: 1.1em;
}

#open-games-container
{
    float: right;
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px dotted #bbb;
}

#active-games-container
{
    float: right;
}

#content
{
    zoom: 1;
}

    #content:after
    {
        clear: both;
        display: block;
        height: 0;
        content: "";
    }

#create-game-holder
{
    display: inline-block;
}

.game-list
{
    list-style-type: none;
    display: inline-block;
}

#active-games-container a, #open-games-container a
{
    text-decoration: none;
}

    #active-games-container a:hover, #open-games-container a:hover
    {
        text-decoration: underline;
    }

#active-games-container .full
{
    color: #bbb;
}

#messages-holder
{
    margin-top: 100px;
    width: 100%;
    position: absolute;
}

#messages-list-container
{
    bottom: 0;
    height: 200px;
    overflow: scroll;
}

#game-state
{
    display: inline-block;
    margin: 0 auto;
}

#error-messages
{
    color: #a30124;
}

.bluePlayer, .redPlayer
{
    color: white;
    cursor: pointer;
}

.bluePlayer
{
    background-color: #4A8BF5;
}

.redPlayer
{
    background-color: #DB1731;
}

.single-user-message
{
    list-style: none;
}

.battleField
{
    display: block;
    margin-top: 30px;
    border-collapse: collapse;
    padding-top: 70px;
}

    .battleField td
    {
        border: 1px solid black;
        padding: 15px;
    }

        .battleField td.empty
        {
            padding: 25px;
        }



button.blue, a.blue, input[type=submit].blue
{
    padding: 10px 30px;
    -webkit-border-radius: 2px 2px;
    border: solid 1px #3079ed;
    background: #4d90fe; /* Old browsers */
    background: -moz-linear-gradient(top, #4d90fe 0%, #4787ed 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4d90fe), color-stop(100%,#4787ed)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #4d90fe 0%,#4787ed 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #4d90fe 0%,#4787ed 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #4d90fe 0%,#4787ed 100%); /* IE10+ */
    background: linear-gradient(top, #4d90fe 0%,#4787ed 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4d90fe', endColorstr='#4787ed',GradientType=0 ); /* IE6-9 */
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    font-size: 11px;
    line-height: 1;
}

    button.blue:hover, a.blue:hover, input[type=submit].blue:hover
    {
        border: 1px solid #2f5bb7;
        background: #4d90fe; /* Old browsers */
        background: -moz-linear-gradient(top, #4d90fe 0%, #357ae8 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4d90fe), color-stop(100%,#357ae8)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, #4d90fe 0%,#357ae8 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, #4d90fe 0%,#357ae8 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top, #4d90fe 0%,#357ae8 100%); /* IE10+ */
        background: linear-gradient(top, #4d90fe 0%,#357ae8 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4d90fe', endColorstr='#357ae8',GradientType=0 ); /* IE6-9 */
        -webkit-box-shadow: 0 1px 1px #333333;
        -moz-box-shadow: 0 1px 1px #333333;
        box-shadow: 0 1px 1px #333333;
    }

    button.blue:active, a.blue:active, input[type=submit].blue:active
    {
        border: 1px solid #377cea;
        -webkit-box-shadow: inset 0 0 2px 2px #377cea, 0 1px 0 0 #aaa;
        -moz-box-shadow: inset 0 0 2px 2px #377cea, 0 1px 0 0 #aaa;
        box-shadow: inset 0 0 2px 2px #377cea, 0 1px 0 0 #aaa;
    }
